﻿<%@ Page Language="C#" AutoEventWireup="true" CodeFile="Edit.aspx.cs" Inherits="Manager_flashscreen_Edit" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title>编辑闪屏</title>
</head>
<body>
    <form id="form1" runat="server">
    <ext:PageManager ID="PageManager1" runat="server" />
     <ext:HiddenField ID="hfPicUrl" runat="server">
    </ext:HiddenField>
    <ext:Form ID="editForm" ShowBorder="false" ShowHeader="false" runat="server" BodyPadding="20px"
        Title="SimpleForm">
        <Rows>
            <ext:FormRow>
                <Items>
                    <ext:TextBox ID="txtName" runat="server" Label="名称" Required="true" ShowRedStar="true">
                    </ext:TextBox>
                </Items>
            </ext:FormRow>
            <ext:FormRow>
                <Items>
                    <ext:FileUpload runat="server" ID="filePhoto" EmptyText="最佳大小：960*315" Label="显示图片" Required="true">
                    </ext:FileUpload>
                </Items>
            </ext:FormRow>
            <ext:FormRow>
                <Items>
                    <ext:CheckBox ID="cbIsShow" runat="server" Label="是否显示" Checked="true">
                    </ext:CheckBox>
                     <ext:Panel ID="plPic" Visible="true" runat="server" BodyPadding="0px" EnableBackgroundColor="false"
                            ShowBorder="false" ShowHeader="false" Title="false" Width="100px" Height="25px"
                            Layout="Absolute">
                            <Items>
                                <ext:HyperLink ID="hyplnkLook" runat="server" Width="50px" Height="22px" AbsoluteX="10px"
                                    AbsoluteY="0px" Label="" ShowLabel="false" NavigateUrl="" Target="_blank" Text="查看">
                                </ext:HyperLink>
                                <ext:LinkButton ID="lnkDelete" runat="server" Label="" Width="50px" Height="22px"
                                    AbsoluteX="50px" AbsoluteY="0px" ShowLabel="false" Text="删除" ConfirmText="确定要删除吗？" OnClick="lnkDelete_Click">
                                </ext:LinkButton>
                            </Items>
                        </ext:Panel>
                </Items>
            </ext:FormRow>
            <ext:FormRow>
                <Items>
                    <ext:Panel ID="Panel1" runat="server" BodyPadding="5px" EnableBackgroundColor="false"
                        ShowBorder="false" ShowHeader="false" Title="Panel" AutoHeight="true" AutoWidth="true"
                        BoxConfigPosition="Center" Layout="HBox">
                        <Items>
                            <ext:Button ID="btnSave" runat="server" ValidateForms="editForm" Icon="SystemSave"
                                Text="保存" OnClick="btnSave_Click">
                            </ext:Button>
                        </Items>
                    </ext:Panel>
                </Items>
            </ext:FormRow>
        </Rows>
    </ext:Form>
    </form>
</body>
</html>
